<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script src="../debug/debug.js"></script>
<script>
	var debug ;
	function test(){
		var obj = new Object();
		var objRef = obj;
		obj.oneProperty = true;
		debug.displayMsg(obj.oneProperty==objRef.oneProperty);  //true
		
		var items = new Array("one","two","three");
		var itemRef = items;		
		items.push("four");
		debug.displayMsg(items.length==itemRef.length); //true
		
		items=new Array("new","one");
		debug.displayMsg(items == itemRef);  //false
		
		var item="test";
		var ref = item;
		item="test 1";
		debug.displayMsg(item == ref); //false;
	
	}
	
	window.onload=function(e){
		debug = new DebugConsole();
		test();
	}
</script>
</head>
<body>

</body>
</html>